<script setup>
import { storeToRefs } from 'pinia';
// import { useUrl } from '~~/composables/states';
// import { useModalImage } from '~~/store/modal_image';

// const image_link = useModalImage();

// const urlHome = useUrl();
// const uslList = useUslList();
// const { usl_list } = storeToRefs(uslList);
// console.log("usl_list: ", usl_list);
// const urlCutHome = urlHome.value.slice(0, urlHome.value.length -1);
// console.log(usl_list);
</script>
<template>
  <Transition>
    <div class="modal modal-bottom sm:modal-middle">
        <div class="modal-box w-11/12 max-w-5xl">
          <slot />
            <div class="modal-action">
            <label for="my-modal-6" class="btn">Ок!</label>
            </div>
        </div>
      </div>
    </Transition>
</template>